package user;

import com.dy.user.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.xml.transform.Result;

@FeignClient(name = "service-login")
public interface UserFeignClient {

    @GetMapping("/getLoginUser/{satoken}")
    User getLoginUser(@PathVariable("satoken") String satoken);
}
